import request from '@/utils/request';

const api = {
    ticket: '/api/auth/getTicket',
    imageCode: '/auth/getImageCode'

};

// 获取令牌
export const getTicket = () => {
    return request.get(api.ticket);
};

// 获取图片验证码
export const getImageCode = () => {
    return request.get(api.imageCode);
};
